import request from '@/utils/request'

// 查询kuaile8中奖号码查询列表
export function listKuaile8(query) {
  return request({
    url: '/business/kuaile8/list',
    method: 'get',
    params: query
  })
}

// 查询kuaile8中奖号码查询详细
export function getKuaile8(id) {
  return request({
    url: '/business/kuaile8/' + id,
    method: 'get'
  })
}

// 新增kuaile8中奖号码查询
export function addKuaile8(data) {
  return request({
    url: '/business/kuaile8',
    method: 'post',
    data: data
  })
}

// 修改kuaile8中奖号码查询
export function updateKuaile8(data) {
  return request({
    url: '/business/kuaile8',
    method: 'put',
    data: data
  })
}

// 删除kuaile8中奖号码查询
export function delKuaile8(id) {
  return request({
    url: '/business/kuaile8/' + id,
    method: 'delete'
  })
}
